
<div class="layui-form" lay-filter="system-user-form" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item" style="display: none;">
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="hidden" name="UserID" value="{{ d.params.UserID || '' }}">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">登录账号</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="text" name="UserNo" fieldname="登录账号" placeholder="" value="{{ d.params.UserNo || '' }}" lay-verify="required" lay-vertype="tips" maxlen="50" autocomplete="off" class="layui-input" {{ d.params.UserID?'disabled':'' }}>
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户姓名</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="text" name="UserName" fieldname="用户姓名" placeholder="" value="{{ d.params.UserName || '' }}" lay-verify="required" lay-vertype="tips" maxlen="50" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">英文名</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="text" name="UserName_EN" fieldname="英文名" placeholder="" value="{{ d.params.UserName_EN || '' }}" lay-verify="required" lay-vertype="tips" maxlen="100" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号码</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="Mobile" fieldname="手机号码" placeholder="" value="{{ d.params.Mobile || '' }}" lay-verify="phone" lay-vertype="tips" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电子邮箱</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="text" name="Email" fieldname="电子邮箱" placeholder="" value="{{ d.params.Email || '' }}" lay-verify="email" lay-vertype="tips" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <script type="text/html" template>
                {{layui.admin.setFormSelectTitleLang('system-user-form','DefaultRoleID')||''}}
            </script>
        </label>
        <div class="layui-input-block">
            <script type="text/html" template lay-url="/Admin/getRoleSelect" 
                    lay-data="{order: 'RoleName'+layui.admin.lang}"  lay-type="post"  lay-done="layui.form.render('select', 'system-user-form')">
                <select name="DefaultRoleID">
                    <option value="">{{layui.admin.setFormSelectLang('system-user-form','DefaultRoleID')||''}}</option>
                    {{#  layui.each(d.data, function(index, item){ }}
                    <option value="{{ item.RoleID }}" {{d.params.DefaultRoleID==item.RoleID?"selected":''}}>{{ item['RoleName'+layui.admin.lang] }}</option>
                    {{#  }); }}
                </select>
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="system-user-form-submit" value="确认" class="layui-btn layui-btn-default">
        </div>
    </div>
</div>